import QtQuick 2.9
import QtQuick.Window 2.2
import VideoItem 1.0

Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")

    VideoItem{
        id: video

        width: parent.width / 2
        height: parent.height / 2
        anchors.top: parent.top
        anchors.left: parent.left
        surface: videoSurface1
        z: 3
    }

    VideoItem{
        id: video1
        width: parent.width / 2
        height: parent.height / 2
        anchors.bottom: parent.bottom
        anchors.right: parent.right
        surface: videoSurface2
        z: 3
    }
}
